Creates a new EntityCarboniteController<TDataContext> instance.

Namespace: Keystone.Carbonite.Linq
Assembly: Keystone.Carbonite.Linq (in Keystone.Carbonite.Linq.dll)

public LinqCarboniteController( 
string connectionString
bool persistChangesPerOperation = true, 
bool closeDataContextOnChangeConfirmation = false, 
params DataContextCreationArgument[] dataContextCreationArguments 
)
This language is not supported or no code example is available.

Parameters

connectionString

Type: string

The connection string.

persistChangesPerOperation

Type: bool

if set to true the data changes will commit every time a persistence method of a DAO is successfully executed.

closeDataContextOnChangeConfirmation

Type: bool

if set to true the underlying Linq to SQL data context will be closed after successfully calling the ConfirmChanges method.

dataContextCreationArguments

Type: DataContextCreationArgument[]

The data context creation arguments to pass to the OnCreateDataContext(DataContextCreationArgument[]) method.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono